package ngames.com.sushitv.api;

/**
 * Created by Administrator on 2016/1/14.
 */
public class ApiResponse<T> {
    private String code;        // 返回码，0为成功
    private String msg;         // 返回信息
    private T obj;              // 单个对象
    private T objList;          // 数组对象

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public T getObjList() {
        return objList;
    }

    public void setObjList(T objList) {
        this.objList = objList;
    }
}
